Preferences

Prefs menu

HTML mode is highly customizable. You can modify its behavior in several ways. This page describes all settings you can do using the Preferences menu of the HTML menu.


General

General prefs page 1

Bring browser to front when sending a window to it
If checked, when you send a file to the browser, the browser will be brought to the foreground. If you have lots of screen space and are just validating, uncheck this flag to leave the browser in the background and Alpha in the foreground. By default the browser is brought to the foreground.

Save window without asking when sending it to the browser
If checked, when you send a file to the browser, the window is saved automatically without asking you. By default you are asked if you want to save the window.

Set tags in lower case
If not checked, elements will be like <P>; if checked, like <p>. By default upper case is used.

Use template stops ()
If checked, will insert the characters. By default the characters are inserted.

Update META tags with NAME="DATE" attributes when saving
If checked, HTML mode will look for tags <META CONTENT="2001-01-14" NAME="DATE"> in the document every time you are saving and update the date. By default this is not done.

Give attributes in dialog boxes/status bar
To choose whether you want to use dialog boxes or the status bar when you give attributes to an HTML element. By default dialog boxes are used.

Change attributes in dialog boxes/status bar
To choose whether you want to use dialog boxes or the status bar when you change the attributes in an existing HTML element by using Edit Tag in the Editing menu or by cmd-double clicking on an opening tag. By default dialog boxes are used.

Beep for first attribute (applies only if you use the status bar)
If checked, and you input element attributes from the status bar, Alpha will beep when asking for element attribute information there. By default Alpha will beep. This applies only if you use the status bar.

Flash status bar for first attribute
If checked, Alpha will flash the status bar when asking for element attribute information there. By default Alpha will do so. This applies only if you use the status bar.

General prefs page 2

Auto-indent when typing > of a tag
Enabling this feature will tell Alpha to indent the current line when you type the > of a HTML tag. This will make sure that the code is correctly indented when you simply type the code without using the menu items for HTML elements. By default Alpha indents.

Create missing file without asking when cmd-double-clicking a link
If checked and you cmd-double-click a link pointing to a file which does not exist, Alpha will create an empty file and open it without first asking you if you want to create the file. By default you are asked before the file is created.

'Help' opens...
The page in the manual which is opened when you choose Help from the HTML menu. By default the first page is opened. Once you have read it, it is more convenient to go directly to the table of contents.

Cmd-double-clicking on non-text file link opens file
If checked, and you cmd-double-click on a link pointing to a non-text file it is opened in the application it was created in. If not checked, nothing happens when you click on such a link. By default the file is opened.

Return on non-text file in home page window opens file
If checked, and you hit return on a non-text file in a home page window it is opened in the application it was created in. If not checked, nothing happens when you hit return on such a file. By default the file is opened.

'Insert include tags' only insert tags
If checked, Alpha will only insert the include tags when you use 'Insert include tags', and not insert the file to be included until you update the window. But default only the tags are inserted.

'Last modified' text
The default text when you insert last modified tags.

General prefs page 3

HTML menu icon
The icon for the HTML menu.

HTML Utilities menu icon
The icon for the HTML Utilities menu.

Attributes Globally

See the section Deciding which attributes to be asked about.

Use Attributes

See the section Deciding which attributes to be asked about.

Indentation

See the section Indentation.

Layout

See the section Controlling the layout of the code.

Optional Closing Tags

Lets you specify if you want to use the closing tag of those elements which have an optional closing tag.

Optional closing

Home Pages

See the section Configuring HTML mode.

Key Bindings

See the section Key bindings.

Coloring

See the section Coloring.

Electrics

See the section Electrics - automatic typing by Alpha.

Checking Links

See the section Checking links.

Word Wrapping

Wrapping prefs

Line width
Determines at which position lines are wrapped. This is the HTML mode specific version of the variable Fill Column in the global settings dialog Config -> Preferences -> Text.

wordBreak
wordBreakPreface
These two control which characters build up words,
wrapBreak
wrapBreakPreface
and these ones control word wrapping.

Read about them in the general manual if you want to change them (should usually not be needed).

Content Types, Media Descriptors, Link Types

To edit the list of content types, media descriptors, and link types, which appear in the popup menus of the attribute dialog boxes. A window is opened where you can edit these list. Separate each item in the list with a space or a new line. Anything item containing spaces must be put within quotes.

Close the window to save the changes. Cancel the changes by holding down the shift while clicking the window's close box.

Content type prefs

Previous page Table of contents Next page